package com.easychat.entity.enums;

/**
 * @author kyle.li
 * @version 1.0
 * @description: TODO
 * @date 2024/7/2 20:19
 */
public enum BeautyAccountStatusEnum {
    NO_USER(0, "未使用"),
    USEED(1, "已使用");

    private Integer status;
    private String desc;

    BeautyAccountStatusEnum(Integer status, String  desc){
        this.status = status;
        this.desc = desc;
    }

    public static BeautyAccountStatusEnum getByStatus(Integer status){
        for(BeautyAccountStatusEnum item : BeautyAccountStatusEnum.values()){
            if(item.getStatus().equals(status)){
                return item;
            }
        }
        return null;
    }

    public Integer getStatus(){
        return status;
    }

    public String getDesc(){
        return desc;
    }

    public void setDesc(String desc){
        this.desc = desc;
    }

}
